package lab02.test02;

/**
 * Created by asus on 2017/10/12.
 */
public class Test02 {
    // 属性：半径
    double radius;
    // 行为：圆的面积与周长
    double area(){
        return 3.14*radius*radius;
    }
    double  perimeter(){
        return 2*3.14*radius;
    }
}
